package components;

public class Button extends AbstractComponent {

    public static final String ACTION_CLICK = "onclick";

    private String text;

    private String action;

    public Button() {
        super();
    }

    public Button(AbstractComponent parent) {
        super(parent);
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getText() {
        return text;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getAction() {
        return action;
    }

}
